const express = require('express');
const router = express.Router();
const { updateLastChatType, getLastChatType } = require('../controllers/userController');

// 更新last_chat_type字段
router.post('/update-last-chat-type', updateLastChatType);

// 获取last_chat_type字段
router.get('/get-last-chat-type', getLastChatType);

module.exports = router; 